using UnityEngine;
using System.Collections;

public class GuiMainMenu : MonoBehaviour 
{

	    public bool showInventory = false;
    
    public Texture bar;

	// Use this for initialization
	void Start () 
	{
		
	}
	
	// Update is called once per frame
	void Update () 
	{
       
	}

    void OnGUI()
    {
        Event e = Event.current;
        if (e.button == 0 && e.isMouse)
		{
            Debug.Log("Left Click");
		}
		
        if(GUI.Button(new Rect(420,700,80,20), "New Game")) 
		{
			Application.LoadLevel("Difficulty");
		}
		
		if(GUI.Button(new Rect(520,700,90,20), "High Scores")) 
		{
			Application.LoadLevel("HighScore");
		}
	
		if(GUI.Button(new Rect(630,700,80,20), "Quit Game")) 
		{
			Application.Quit();
		}
       
        
    } 
}
